package com.chaodev.base.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * vcbase
 *
 * @author 95634
 * @描述
 * @date 2023/5/19 15:50
 **/
public class ActivityArticle implements Serializable {
    private static final long serialVersionUID = 6303511842982171119L;
    @ApiModelProperty("活动ID")
    private int id;

    @ApiModelProperty("活动主题")
    private String theme;

    @ApiModelProperty("活动内容")
    private String content;

    @ApiModelProperty("发表人")
    private String sendUser;

    @ApiModelProperty("状态")
    private int state;

    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd")
    private Date cTime;

    @ApiModelProperty("创建人")
    private String cUser;

    @ApiModelProperty("更新时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private Date updtTime;

    @ApiModelProperty("更新人")
    private String updtr;

    @ApiModelProperty("发布部门code")
    private String sendOrgCode;

    @ApiModelProperty("发布部门名称")
    private String sendOrgName;

    @ApiModelProperty("封面图片")
    private String coverImg;

    @ApiModelProperty("访问量")
    private Long visitNum;

    @ApiModelProperty("稿件类型(来源)，1-志愿者投稿类型")
    private Integer type;

    /**
     * 区分哪一端来调用接口
     * 1-管理端，2-用户端/网页门户
     */
    private Integer dataType;

    /**
     * 返回宣传稿列表，还是志愿者投稿列表标识
     * 1-宣传稿，2-志愿者投稿，不传或者其他就是所有信息列表
     */
    private Integer istype;

    /**
     * 审核是否结束
     * 1-是（结束），0-否（没结束）
     */
    private Integer isEnd;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSendUser() {
        return sendUser;
    }

    public void setSendUser(String sendUser) {
        this.sendUser = sendUser;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    public String getcUser() {
        return cUser;
    }

    public void setcUser(String cUser) {
        this.cUser = cUser;
    }

    public Date getUpdtTime() {
        return updtTime;
    }

    public void setUpdtTime(Date updtTime) {
        this.updtTime = updtTime;
    }

    public String getUpdtr() {
        return updtr;
    }

    public void setUpdtr(String updtr) {
        this.updtr = updtr;
    }

    public String getSendOrgCode() {
        return sendOrgCode;
    }

    public void setSendOrgCode(String sendOrgCode) {
        this.sendOrgCode = sendOrgCode;
    }

    public String getSendOrgName() {
        return sendOrgName;
    }

    public void setSendOrgName(String sendOrgName) {
        this.sendOrgName = sendOrgName;
    }

    public String getCoverImg() {
        return coverImg;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public Long getVisitNum() {
        return visitNum;
    }

    public void setVisitNum(Long visitNum) {
        this.visitNum = visitNum;
    }

    public Integer getIstype() {
        return istype;
    }

    public void setIstype(Integer istype) {
        this.istype = istype;
    }

    public Integer getIsEnd() {
        return isEnd;
    }

    public void setIsEnd(Integer isEnd) {
        this.isEnd = isEnd;
    }
}
